import { Charts } from '@jiaminghi/data-view-react';
import chartStyle from './chartStyle.module.css';
function RightTopChart() {
    const option = {
        title: {
            text: '剩余油量表',
            style: {
                fill: '#fff'
            }
        },
        series: [
            {
                type: 'gauge',
                data: [{ name: 'itemA', value: 55 }],
                center: ['50%', '55%'],
                axisLabel: {
                    formatter: '{value}%',
                    style: {
                        fill: '#fff'
                    }
                },
                axisTick: {
                    style: {
                        stroke: '#fff'
                    }
                },
                animationCurve: 'easeInOutBack'
            }
        ]
    }
    return (
        <div className={chartStyle.chart_con}>
            <Charts option={option} />
        </div>
    )
}
export default RightTopChart;